home *** CD-ROM | disk | FTP | other *** search
- Path: ix.netcom.com!netnews
- From: scutler@ix.netcom.com (Scott Cutler)
- Newsgroups: comp.lang.c
- Subject: Moving graphics on-screen...
- Date: Mon, 19 Feb 1996 05:54:16 GMT
- Organization: Netcom
- Message-ID: <31280f6b.17689639@nntp.ix.netcom.com>
- NNTP-Posting-Host: sac-ca12-24.ix.netcom.com
- X-NETCOM-Date: Sun Feb 18 9:55:15 PM PST 1996
- X-Newsreader: Forte Agent .99c/16.141
-
- I'm writing a program where I need to shift graphics on the screen one
- pixel over. Right now I'm using this:
-
- for(g=319; g<=40639; g++) {*(VGAmem+g)=*(VGAmem+g+1);}
-
- Where VGAmem is a pointer to 0xA000h. However, I have a feeling that
- there is a faster method. Any tips?
-
- Scott Cutler SCutler@ix.netcom.com
-